<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>super在多重继承中的作用</title>
</head>
<body>
    <script>
        let common = {
            show(){
                console.log("commen.show " + this.name);
            }
        }

        let hd = {
            name:'hd',
            __proto__:common,
            show(){
                // (this.__proto__).show.call(this);
                super.show();
            }
        };

        let hdms = {
            name:'hdms',
            __proto__:hd,
            show(){
                // (this.__proto__).show.call(this);
                super.show();
            }
        };
        hdms.show();
    </script>
</body>
</html>